/* 全局样式 */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--vscode-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
	font-size: var(--vscode-font-size, 13px);
	color: var(--vscode-foreground, #cccccc);
	background-color: var(--vscode-editor-background, #1e1e1e);
	overflow: hidden;
}

#root {
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
}

/* 滚动条样式 */
::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

::-webkit-scrollbar-track {
	background: var(--vscode-scrollbarSlider-background, rgba(121, 121, 121, 0.4));
	border-radius: 6px;
}

::-webkit-scrollbar-thumb {
	background: var(--vscode-scrollbarSlider-hoverBackground, rgba(100, 100, 100, 0.7));
	border-radius: 6px;
	border: 2px solid var(--vscode-scrollbarSlider-background, rgba(121, 121, 121, 0.4));
	transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--vscode-scrollbarSlider-activeBackground, rgba(191, 191, 191, 0.4));
}
